import instance_okx from './okx_instance.js';
import {getNow} from "../../utils/utils.js";
//获取token
export const getPrice_USDT = () => {
    return instance_okx.get("/priapi/v3/b2c/deposit/quotedPrice?side=buy&quoteCurrency=CNY&baseCurrency=USDT&t=1713871941047");
};

export const getPrice_coinPair = (coinPair) => {
    return instance_okx.get(`/priapi/v5/market/mult-tickers?instIds=${coinPair}&t=${getNow()}`);
};
